#ifdef _GT4
 // GT4_ContentHandler.h: derived class from SAXContentHandlerImpl
 
#if !defined(AFX_A1CONTENTHANDLER_H__E0CFBC18_CCC1_42F3_B0A4_B03331AB9693__INCLUDED_)
#define AFX_A1CONTENTHANDLER_H__E0CFBC18_CCC1_42F3_B0A4_B03331AB9693__INCLUDED_

#include <s:\packages\xml\SAXContentHandlerImpl.h>
#include "uModeleSpecifique.h"

class GT4_ContentHandler : public SAXContentHandlerImpl  
{
private :
  TStringList       *m_Balises;
  cModeleSpecifique *m_ModeleSpecifique;
  char               m_cSens;
  AnsiString         m_Montant, m_Lettrage;       // credit ou débit
  AnsiString         m_Fichier;
public:
	  static GT4_ContentHandler * CreateInstance(cModeleSpecifique *pModeleSpecifique, const AnsiString &Fichier);
    GT4_ContentHandler(cModeleSpecifique *pModeleSpecifique, const AnsiString &Fichier);
    virtual ~GT4_ContentHandler();

    virtual HRESULT STDMETHODCALLTYPE startElement(
            /* [in] */ const wchar_t __RPC_FAR *pwchNamespaceUri,
            /* [in] */ int cchNamespaceUri,
            /* [in] */ const wchar_t __RPC_FAR *pwchLocalName,
            /* [in] */ int cchLocalName,
            /* [in] */ const wchar_t __RPC_FAR *pwchRawName,
            /* [in] */ int cchRawName,
            /* [in] */ Msxml2_tlb::ISAXAttributes __RPC_FAR *pAttributes);

    virtual HRESULT STDMETHODCALLTYPE endElement( 
            /* [in] */ const wchar_t __RPC_FAR *pwchNamespaceUri,
            /* [in] */ int cchNamespaceUri,
            /* [in] */ const wchar_t __RPC_FAR *pwchLocalName,
            /* [in] */ int cchLocalName,
            /* [in] */ const wchar_t __RPC_FAR *pwchRawName,
            /* [in] */ int cchRawName);

    virtual HRESULT STDMETHODCALLTYPE characters( 
            /* [in] */ const wchar_t __RPC_FAR *pwchChars,
            /* [in] */ int cchChars);

private:
		int idnt;
};

#endif // !defined(AFX_A1CONTENTHANDLER_H__E0CFBC18_CCC1_42F3_B0A4_B03331AB9693__INCLUDED_)
#endif //_GT4
